package org.jeecg.modules.base.service;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.base.entity.BaseScore;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.base.entity.dto.ScoreDto;
import org.jeecg.modules.base.entity.vo.ScoreVo;

import java.util.List;

/**
 * @Description: base_score
 * @Author: jeecg-boot
 * @Date:   2021-04-14
 * @Version: V1.0
 */
public interface IBaseScoreService extends IService<BaseScore> {

    /**
     * 列表
     * @param dto
     * @return
     */
    List<ScoreVo> getList( ScoreDto dto);

    /**
     * 分数总和
     * @param userId
     * @return
     */
    Integer getSum(String userId);

}
